From 5aeaa180b08d9dc562242bdc4f2426dcd2bea942 Mon Sep 17 00:00:00 2001 From: Andreas Beckmann Date: Wed, 13 Oct 2021 16:23:53 +0200 Subject: [PATCH] [PATCH] add POCL_EXPORT to additional symbols needed if hardening is enabled Gbp-Pq: Name 1015-add-POCL_EXPORT-to-additional-symbols-needed-if-hard.patch --- lib/CL/pocl_util.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/CL/pocl_util.h b/lib/CL/pocl_util.h index eeceb6b..6fa860c 100644 --- a/lib/CL/pocl_util.h +++ b/lib/CL/pocl_util.h @@ -107,8 +107,10 @@ cl_int pocl_create_command_migrate (_cl_command_node **cmd, void pocl_command_enqueue (cl_command_queue command_queue, _cl_command_node *node); +POCL_EXPORT int pocl_alloc_or_retain_mem_host_ptr (cl_mem mem); +POCL_EXPORT int pocl_release_mem_host_ptr (cl_mem mem); /* does several sanity checks on buffer & given memory region */ -- 2.30.2